package com.acat.providerFirst;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Created by Administrator on 2016/12/23.
 */
public class FirstProvider {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext cxt = new ClassPathXmlApplicationContext(
                "classpath:dubbo-provider.xml");

        cxt.start();
        System.out.println("服务已经启动...");
        System.in.read();
    }

}
